<!-- 人员概况列表 -->
<template>
  <div class="memberList">
    <collapse v-for="(item_o, index_o) in assort"
      :key="index_o">
      <div class="outer_title"
        slot="title">今日有{{assortCount[index_o]}}位{{item_o}}</div>
      <mt-cell class="outer"
        slot="content"
        v-for="(item_i, index_i) in modelData.data"
        :key="index_i"
        v-if="item_i.rest==index_o">
        <div class="inner_l">
          <h4>
            <mt-badge size="large" color="#888">
              {{nameFC(item_i.name)}}
            </mt-badge>
            {{item_i.name}}
          </h4>
        </div>
        <div class="inner_r">
          <p class="rest"
            v-if="item_i.rest && item_i.status!==0">{{rest}}</p>
          <p :class="{status:item_i.status!==0}"
            v-else>{{status[item_i.status]}}</p>
          <p v-if="item_i.status!==1">{{item_i.title}}</p>
        </div>
      </mt-cell>
    </collapse>
    <bottomLine :content="`${count}位人员`"></bottomLine>
  </div>
</template>
<style lang="less" src="./index.less"></style>
<script src="./index.js"></script>
